Skip to content

gh-145667: Update dis docs for GET_ITER, FOR_ITER and SEND changes - #161867

Merged
asvetlov merged 2 commits into
python:mainfrom
asvetlov:claude/laughing-meitner-34cf91
Nov 13, 2026
Merged

asvetlov merged 2 commits into
python:mainfrom
asvetlov:claude/laughing-meitner-34cf91

Conversation

@asvetlov

@asvetlov asvetlov commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Doc/library/dis.rst was not updated for the 3.15 iterator changes (GH-132554 virtual iterators, GH-145667 merge of GET_ITER/GET_YIELD_FROM_ITER, GH-145668 specializations). This brings the opcode descriptions in line with Python/bytecodes.c.

🤖 Generated with Claude Code

Document the (iterator, index or NULL) pair pushed by GET_ITER and
consumed by FOR_ITER, SEND, END_SEND and POP_ITER, and the yield_from
argument of GET_ITER that replaced GET_YIELD_FROM_ITER in 3.15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@read-the-docs-community

read-the-docs-community Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35836756 | 📁 Comparing 5fd1400 against main (2d862b1)

  🔍 Preview build  

1 file changed
± library/dis.html

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@asvetlov asvetlov added the needs backport to 3.15 bugs and security fixes label Nov 12, 2026
@asvetlov
asvetlov marked this pull request as ready for review November 12, 2026 11:50
@asvetlov
asvetlov merged commit d8d560b into python:main Nov 13, 2026
32 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 13, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @asvetlov, I could not cleanly backport this to 3.15 due to a conflict.

Please backport manually with cherry_picker, see the devguide for more information.

cherry_picker d8d560b950489995c407c7488caabc6fa03cc84f 3.15

@bedevere-app

bedevere-app Bot commented Nov 13, 2026

Copy link
Copy Markdown

GH-161935 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 13, 2026
asvetlov added a commit that referenced this pull request Nov 14, 2026
…nges (GH-161867) (#161935)

* gh-145667: Update dis docs for GET_ITER, FOR_ITER and SEND changes

Document the (iterator, index or NULL) pair pushed by GET_ITER and
consumed by FOR_ITER, SEND, END_SEND and POP_ITER, and the yield_from
argument of GET_ITER that replaced GET_YIELD_FROM_ITER in 3.15.



* Exclude removed GET_YIELD_FROM_ITER anchor from the HTML ID check



---------


(cherry picked from commit d8d560b)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant